var ReturnOrderTemplate = function () {
  var template = /* html */ `
    <div class="return-order-template common-template-setting" v-loading.fullscreen.lock="loading">
      <order-template-setting v-if="templateConfig!==null" clause-title="单据摘要" :config="templateConfig" :type="type" @save-click="saveTemplate"
        :has-clause="false">
        <template slot="table">
          <div class="setting-form-item clearfix">
            <label style="float:none;width:100%;text-align:left;">退货单列设置</label>
            <div style="float:none">
              <table-column-setting :setting="templateConfig" column-field="returnOrderColumns" :column-dropdown="returnOrderColumnDropdown">
              </table-column-setting>
            </div>
          </div>
        </template>
        <template slot="other-append" slot-scope="scope">
          <div class="setting-form-item clearfix">
            <div style="float:none;">
              <span>单据摘要</span>
            </div>
            <div style="float:none;margin-top:5px;">
              <el-input v-model="scope.config.clauseContent" type="textarea" :rows="1" :autosize="true" resize="none"></el-input>
            </div>
          </div>
        </template>
      </order-template-setting>
    </div>
  `;

  return {
    data: function () {
      return {};
    },

    mixins: [templateSettingMixin('returnOrder')],

    template: template
  };
}();
